/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package claseabstracta;

/**
 *
 * @author CP16
 */
abstract class Figura {
    protected int ancho,alto;
    void setArea (int x, int y)
    {
        ancho=x;
        alto=y;
    }
    void mostrar ()
    {
        System.out.println(ancho);
        System.out.println(alto);
        
    }
    abstract int getArea();
    
    
}
